# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-beetle-supergrafx
pkgver=0_git20200131
pkgrel=0
_commit="fadef23d59fa5ec17bc99e1e722cfd9e10535695"
pkgdesc="standalone port of Mednafen PCE Fast to libretro"
url="https://github.com/libretro/beetle-supergrafx-libretro"
arch="all"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/beetle-supergrafx-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/beetle-supergrafx-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 mednafen_supergrafx_libretro.so "$pkgdir"/usr/lib/libretro/mednafen_supergrafx_libretro.so
}

sha512sums="fc4e6d580767fd50e4a363317d9915f09865391c3eb56553c6008a4138684cc7c151133038da45484a41ae2d804cd0ec536f3c65c7ae394b52c2b3070e6dd877  libretro-beetle-supergrafx-fadef23d59fa5ec17bc99e1e722cfd9e10535695.tar.gz"
